##################################################################################

# golang包名安装:
go.funk() {
    go get github.com/thoas/go-funk
}

go.gin() {
    go get -u github.com/gin-gonic/gin
}

go.gorm() {
    go get -u gorm.io/gorm
}

go.linq() {
    go get github.com/ahmetb/go-linq/v3
}

go.cron() {
    go get github.com/robfig/cron/v3@v3.0.0
}

go.update.all() {
    go get -u && go mod tidy
}

go.viper() {
    go get github.com/spf13/viper
}

go.secure() {
    go get github.com/unrolled/secure
}

go.resty() {
    go get github.com/go-resty/resty/v2
}

go.redis() {
    go get github.com/go-redis/redis/v8
}

go.mapstructure() {
    go get github.com/mitchellh/mapstructure
}

go.mongo() {
    go get gitee.com/elonelon/go_pkg/mongo
}

go.humanize() {
    go get github.com/dustin/go-humanize
}

go.nsq() {
    go get -u github.com/nsqio/go-nsq
}

go.mysql() {
    go get -u github.com/go-sql-driver/mysql
}

go.gin.sessions() {
    go get github.com/gin-contrib/sessions
}

go.gin.validator() {
    go get github.com/go-playground/validator/v10
}

go.excel() {
    go get gitee.com/elonelon/go_pkg/excel
}

go.chromedp() {
    go get gitee.com/elonelon/go_pkg/chromedp-base
}

go.chromedp.official() {
    go get github.com/chromedp/chromedp
}
